package cn.hxzy.office.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (UserSchedule)实体类
 *
 * @author makejava
 * @since 2020-07-29 11:12:33
 */
public class UserSchedule implements Serializable {
    @Override
    public String toString() {
        return "UserSchedule{" +
                "id=" + id +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                ", position='" + position + '\'' +
                ", content='" + content + '\'' +
                ", user=" + user +
                '}';
    }

    public UserSchedule() {
    }

    private static final long serialVersionUID = -26532901964998864L;

    private Integer id;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Object startDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Object endDate;

    private String position;

    private String content;

    private User user;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Object getStartDate() {
        return startDate;
    }

    public void setStartDate(Object startDate) {
        this.startDate = startDate;
    }

    public Object getEndDate() {
        return endDate;
    }

    public void setEndDate(Object endDate) {
        this.endDate = endDate;
    }
}